const Mock=require("mockjs")

Mock.mock("http://localhost:8094/smartcontract/list",(request,Response)=>{
    var id=10000;
    var obj={       
        title:"租女友",
        level:"3",
        summary:"年龄35岁以下，身材火辣",
        amountMoney:10000.00,
        period:7,
        CA:"上海SKD律师事务所",
        createData:"2021-07-04"
    }
    var list=[];
    for(let i=0;i<50;i++){
        let t=Object.assign({},obj);
        t.id=id++
        t.key=t.id;
        list.push(t);
    }
    return {
        status:true,
        list:list
    }
})